package com.huang.dianzan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huang.dianzan.model.dto.thumb.DoThumbRequest;
import com.huang.dianzan.model.entity.Thumb;
import jakarta.servlet.http.HttpServletRequest;

/**
 * @author huangxu
 * @date 2025年04月28日16:25
 */
public interface ThumbService extends IService<Thumb> {

    /**
     * 点赞
     * @param doThumbRequest
     * @param request
     * @return
     */
    Boolean doThumb(DoThumbRequest doThumbRequest, HttpServletRequest request);


    /**
     * 取消点赞
     * @param doThumbRequest
     * @param request
     * @return
     */
    Boolean undoThumb(DoThumbRequest doThumbRequest, HttpServletRequest request);
}
